/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package is202.hrms.entity;

import java.io.Serializable;

/**
 *
 * @author MrVegard
 */
public class Progid implements Serializable{
    private int bruker;
    private int moduler;

    public Progid() {
    }

    public Progid(int bruker, int moduler) {
        this.bruker = bruker;
        this.moduler = moduler;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 89 * hash + (int) (this.bruker ^ (this.bruker >>> 32));
        hash = 89 * hash + (int) (this.moduler ^ (this.moduler >>> 32));
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Progid other = (Progid) obj;
        if (this.bruker != other.bruker) {
            return false;
        }
        if (this.moduler != other.moduler) {
            return false;
        }
        return true;
    }

    
    
}